package com.jhx.mall.dao;

import com.jhx.mall.entity.DtsAddress;

import java.util.List;

public interface DtsAddressDao {

    //查询地址
    List<DtsAddress> selectAddress(int userId);

    //查询地址详情
    DtsAddress selectAddressDetail(int id);

    //新建地址
    int addAddress(DtsAddress address);

    //修改地址
    int upAddress(DtsAddress address);

    //删除地址
    int delAddress(int id);
}
